import 'package:frontend/models/store.dart';
import 'package:frontend/models/user.dart';

import 'itemInfo.dart';

class Global {
  static Profile profile = Profile();
  static List<ItemInfo> cart = [];
}

class Profile {
  User? user;
  Store? store;
  int? receiver_id;
  int? group_id;
  get isLogin => user != null;
  get hasStore => store != null;
}
